#include <54func.h>
int main(int argc, char *argv[])
{
    short port = 0x1234; // 1234 是小端
    short big_endian_port = htons(port);
    printf("big_endian_port = %x\n", big_endian_port);
    return 0;
}

